[INFO] cloning repository https://github.com/nstrmx/snake-game-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nstrmx/snake-game-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e98b7b310846ccde8cd30116bac10f9a4eb50b6
[INFO] checking nstrmx/snake-game-rs against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nstrmx/snake-game-rs
[INFO] finished tweaking git repo https://github.com/nstrmx/snake-game-rs
[INFO] tweaked toml for git repo https://github.com/nstrmx/snake-game-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nstrmx/snake-game-rs on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nstrmx/snake-game-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shrev v1.1.3
[INFO] [stderr]   Downloaded tuple_utils v0.3.0
[INFO] [stderr]   Downloaded specs-derive v0.4.1
[INFO] [stderr]   Downloaded raylib v5.0.1
[INFO] [stderr]   Downloaded mopa v0.2.2
[INFO] [stderr]   Downloaded tynm v0.1.10
[INFO] [stderr]   Downloaded hibitset v0.6.4
[INFO] [stderr]   Downloaded prettyplease v0.2.20
[INFO] [stderr]   Downloaded hashbrown v0.7.2
[INFO] [stderr]   Downloaded specs v0.16.1
[INFO] [stderr]   Downloaded shred v0.10.2
[INFO] [stderr]   Downloaded raylib-sys v5.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c08907da9ef81f81d999ed7c17bd9b211c57c9ed00450b64756991da7d6890b
[INFO] running `Command { std: "docker" "start" "-a" "1c08907da9ef81f81d999ed7c17bd9b211c57c9ed00450b64756991da7d6890b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c08907da9ef81f81d999ed7c17bd9b211c57c9ed00450b64756991da7d6890b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c08907da9ef81f81d999ed7c17bd9b211c57c9ed00450b64756991da7d6890b", kill_on_drop: false }`
[INFO] [stdout] 1c08907da9ef81f81d999ed7c17bd9b211c57c9ed00450b64756991da7d6890b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea5b4aadffba250f74221ee8c7850dec244a7a843ecd4edff0833617ea8ccd71
[INFO] running `Command { std: "docker" "start" "-a" "ea5b4aadffba250f74221ee8c7850dec244a7a843ecd4edff0833617ea8ccd71", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking tynm v0.1.10
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]     Checking hibitset v0.6.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking shrev v1.1.3
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]    Compiling raylib-sys v5.0.0
[INFO] [stderr]     Checking raylib v5.0.1
[INFO] [stderr]     Checking snake_nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/main.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let state = game.reset();
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/main.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let state = game.reset();
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s
[INFO] running `Command { std: "docker" "inspect" "ea5b4aadffba250f74221ee8c7850dec244a7a843ecd4edff0833617ea8ccd71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea5b4aadffba250f74221ee8c7850dec244a7a843ecd4edff0833617ea8ccd71", kill_on_drop: false }`
[INFO] [stdout] ea5b4aadffba250f74221ee8c7850dec244a7a843ecd4edff0833617ea8ccd71
